﻿package zinterface

import (
	"net"
)

/*
INetConn 接口
子类可能是TCP，或者 webSocket
*/
type INetConn interface {
	Close() error
	RemoteAddr() net.Addr

	Write(msg []byte) (int, error)

	ReadFull([]byte) (int, error)
}
